/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa165.machineryrental.weblayer.custommodels;

import cz.muni.fi.pa165.machineryrental.dto.CustomerDTO;
import cz.muni.fi.pa165.machineryrental.dto.MachineDTO;

/**
 * Used for search by on list of rentals
 * @author jostri
 */
public class CustomerMachineSearch {
	
	private CustomerDTO customer;
	
	private MachineDTO machine;

	/**
	 * Returns machine, by which are searched rentals
	 * @return search machine
	 */
	public MachineDTO getMachine() {
		return machine;
	}

	/**
	 * Sets machine, by which are searched rentals
	 * @param machine search machine
	 */
	public void setMachine(MachineDTO machine) {
		this.machine = machine;
	}

	/**
	 * Returns selected customer
	 * @return Selected customer
	 */
	public CustomerDTO getCustomer() {
		return customer;
	}

	/**
	 * Sets selected customer
	 * @param customer Selected customer
	 */
	public void setCustomer(CustomerDTO customer) {
		this.customer = customer;
	}
	
}
